#include <stdio.h>

#define JPJ0CON 0xe0200240
#define JPJ0DAT 0xe0200244



void led_flash(void){
	*(unsigned int *)JPJ0CON=0x11111111;
	while(1){
		*(unsigned int *)JPJ0DAT= (1<<3 | 1<<4 | 1<<5);
		delay();

		*(unsigned int *)JPJ0DAT= (0<<3 | 0<<4 | 0<<5);
		delay();
	}
}

void delay(void){
	volatile unsigned int num=1800000;
	while(num--);
}


